<?php

class Buyback_Resource_ItemType_Book{
	
	public $Source;
	/*
	 * Objects
	 */
	public $Image;
	public $Dimensions;
	
	
	public $Metric;
	/*
	 * Variables
	 */
	public $Isbn10;
	public $Isbn13;
	public $Title;
	public $Authors = array();
	public $Binding;
	public $Publisher;
	public $PublishYear;
	public $Edition;
	
	public function __construct($object){
		if(null != $object){
			
			$this->Metric = $object->Metric;
			$this->Source = $object->Source;
			$this->Isbn13 = $object->Isbn13;
			
			$this->Isbn10 = $object->Isbn10;
			$this->Title = $object->Title;
			$this->Authors = $object->Authors;
			$this->Binding = $object->Binding;
			$this->Publisher = $object->Publisher;
			$this->PublishYear = $object->PublishYear; 
			$this->Edition = $object->Edition;
			
			$this->Image = $object->Image;
			$this->Dimensions = $object->Dimensions;
		}
	}
}